package com.juc.cyclicbarrier.cyclicbarrier4;

public class ThreadA  extends Thread{
	private MyService myService;
	
	ThreadA(MyService myService) {
		super();
		this.myService = myService;
	}
	
	@Override
	public void run() {
		myService.beginRun();
	}

}
